home *** CD-ROM | disk | FTP | other *** search
- diff -u -r --new-file last-version/source/Makefile samba-1.9.14alpha14/source/Makefile
- --- last-version/source/Makefile Sun Sep 10 23:26:09 1995
- +++ samba-1.9.14alpha14/source/Makefile Mon Sep 11 12:10:49 1995
- @@ -144,7 +144,6 @@
-
- # Use this for Linux with shadow passwords
- # contributed by Andrew.Tridgell@anu.edu.au
- -# you may need -DNO_ASMSIGNALH if you have an older Linux version
- # add -DLINUX_BIGCRYPT is you have shadow passwords but don't have the
- # right libraries and includes
- # FLAGSM = -DLINUX -DSHADOW_PWD
- @@ -152,7 +151,6 @@
-
- # Use this for Linux without shadow passwords
- # contributed by Andrew.Tridgell@anu.edu.au
- -# you may need -DNO_ASMSIGNALH if you have an older Linux version
- # FLAGSM = -DLINUX
- # LIBSM =
-
- diff -u -r --new-file last-version/source/change-log samba-1.9.14alpha14/source/change-log
- --- last-version/source/change-log Mon Sep 11 00:14:27 1995
- +++ samba-1.9.14alpha14/source/change-log Tue Sep 12 02:01:31 1995
- @@ -1540,7 +1540,8 @@
- - lots of uid and encryption changes from Jeremy Allison. WinDD
- should now work.
- - released alpha13
- -
- + - fixed max_xmit bug in client
- + - select fix in server (fixed critical drive errors under ISC)
-
- ==========
- todo:
- diff -u -r --new-file last-version/source/client.c samba-1.9.14alpha14/source/client.c
- --- last-version/source/client.c Sat Sep 2 17:29:51 1995
- +++ samba-1.9.14alpha14/source/client.c Mon Sep 11 12:59:31 1995
- @@ -1004,6 +1004,7 @@
- #if 1
- if (finfo.size > 0)
- {
- + DEBUG(3,("Chaining readX wth openX\n"));
- SSVAL(outbuf,smb_vwv0,SMBreadX);
- SSVAL(outbuf,smb_vwv1,smb_offset(p,outbuf));
- bzero(p,200);
- @@ -1088,7 +1089,7 @@
-
- p=NULL;
-
- - DEBUG(3,("nread=%d\n",nread));
- + DEBUG(3,("nread=%d max_xmit=%d fsize=%d\n",nread,max_xmit,finfo.size));
-
- /* 3 possible read types. readbraw if a large block is required.
- readX + close if not much left and read if neither is supported */
- @@ -2938,7 +2939,6 @@
- }
-
-
- - max_xmit = SVAL(inbuf,smb_vwv0);
- max_xmit = MIN(max_xmit,BUFFER_SIZE-4);
- if (max_xmit <= 0)
- max_xmit = BUFFER_SIZE - 4;
- diff -u -r --new-file last-version/source/util.c samba-1.9.14alpha14/source/util.c
- --- last-version/source/util.c Fri Sep 8 13:04:37 1995
- +++ samba-1.9.14alpha14/source/util.c Tue Sep 12 01:59:23 1995
- @@ -1971,6 +1971,7 @@
- do {
- struct timeval t2;
- memcpy((void *)&t2,(void *)&timeout,sizeof(t2));
- + errno = 0;
- selrtn = select(255,SELECT_CAST &fds,NULL,NULL,&t2);
- }
- while( selrtn < 0 && errno == EINTR );
- @@ -2047,6 +2048,7 @@
- timeout.tv_usec = (maxtime % 1000) * 1000;
-
- do {
- + errno = 0;
- if (maxtime > 0)
- selrtn = select(255,SELECT_CAST &fds,NULL,NULL,&timeout);
- else
- @@ -2126,6 +2128,7 @@
- do {
- struct timeval t2;
- memcpy((void *)&t2,(void *)&timeout,sizeof(t2));
- + errno = 0;
- selrtn = select(255,NULL,SELECT_CAST &fds,NULL,&t2);
- }
- while( selrtn < 0 && errno == EINTR );
- @@ -2647,6 +2650,7 @@
- tval.tv_usec = 1000*((t-tdiff)%1000);
-
- FD_ZERO(&fds);
- + errno = 0;
- select(255,NULL,SELECT_CAST &fds,NULL,&tval);
-
- GetTimeOfDay(&t2);
- @@ -3538,11 +3542,6 @@
- if (res == -1)
- { DEBUG(0,("socket failed\n")); return -1; }
-
- - {
- - int one=1;
- - setsockopt(res,SOL_SOCKET,SO_REUSEADDR,(char *)&one,sizeof(one));
- - }
- -
- /* now we've got a socket - we need to bind it */
- if (bind(res, (struct sockaddr * ) &sock,sizeof(sock)) < 0)
- {
- @@ -3559,6 +3558,11 @@
- return(-1);
- }
- DEBUG(1,("bind succeeded on port %d\n",port));
- +
- + {
- + int one=1;
- + setsockopt(res,SOL_SOCKET,SO_REUSEADDR,(char *)&one,sizeof(one));
- + }
-
- return res;
- }
- diff -u -r --new-file last-version/source/version.h samba-1.9.14alpha14/source/version.h
- --- last-version/source/version.h Mon Sep 11 00:15:56 1995
- +++ samba-1.9.14alpha14/source/version.h Tue Sep 12 02:05:19 1995
- @@ -1 +1 @@
- -#define VERSION "1.9.14alpha13"
- +#define VERSION "1.9.14alpha14"
-